-- GENERATED SPELL FOR [Stormsnout] --


function spell0_3240(pUnit, Event) --@Lizard Bolt,n/a--
pUnit:FullCastSpellOnTarget(5401,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3240', 2000, 1)
end

function Sorts_3240(pUnit, Event)
local choix_sorts_3240 = math.random(0, 0)
if choix_sorts_3240 == 0 then
pUnit:RegisterEvent('spell0_3240', 1, 1)
end
end

function mob3240_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3240', math.random(1500, 3000), 1)
end

function mob3240_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3240_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3240_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3240, 1, 'mob3240_Action')
RegisterUnitEvent(3240, 2, 'mob3240_Leave')
RegisterUnitEvent(3240, 3, 'mob3240_Kill')
RegisterUnitEvent(3240, 4, 'mob3240_Die')
